﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="viewProductEdit.aspx.cs" Inherits="Pc_Vision.View_Datalayer.viewProductEdit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <!-- #include file="load.aspx" -->
</head>
<body>
    <!-- #include file="header.aspx" -->

<form id="form1" runat="server">
        <table style="margin-left:535px">
            <tr><td><asp:Label ID="lblCategorie" runat="server" Text="Categorie:"  /></td>
            <td><asp:dropdownlist ID="ddlCategorie" runat="server" DataSourceID="SqlDataSource1" DataTextField="categorienaam" DataValueField="categorienaam" />
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:pcvisionConnectionString %>" ProviderName="<%$ ConnectionStrings:pcvisionConnectionString.ProviderName %>" SelectCommand="SELECT categorienaam FROM pcVision.categorie"></asp:SqlDataSource>
                </td></tr>
            <tr><td><asp:Label ID="lblArticleNumber" runat="server" Text="Artikel nummer:" /></td>
            <td><asp:TextBox ID="tbArticleNumber" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblName" runat="server" Text="Product naam:" /></td>
            <td><asp:TextBox ID="tbName" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblProductDescription" runat="server" Text="Product omschrijving:" /></td>
            <td><asp:TextBox ID="tbProductDescription" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblSystemType" runat="server" Text="Systeem type" /></td>
            <td><asp:TextBox ID="tbSystemType" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblProcessor" runat="server" Text="Processor" /></td>
            <td><asp:TextBox ID="tbProcessor" runat="server" /></td></tr>
        
            <tr><td><asp:Label ID="lblMemory" runat="server" Text="RAM-geheugen:" /></td>
            <td><asp:TextBox ID="tbMemory" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblStorage" runat="server" Text="Opslag:" /></td>
            <td><asp:TextBox ID="tbStorage" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblOpticalDisk" runat="server" Text="DVD-CD speler:" /></td>
            <td><asp:TextBox ID="tbOpticalDisk" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblDisplay" runat="server" Text="Scherm resolutie" /></td>
            <td><asp:TextBox ID="tbDisplay" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblVideoCard" runat="server" Text="Videokaart:" /></td>
            <td><asp:TextBox ID="tbVideoCard" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblNetworkCard" runat="server" Text="Netwerk kaart:" /></td>
            <td><asp:TextBox ID="tbNetworkCard" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblBattery" runat="server" Text="Batterij duur:" /></td>
            <td><asp:TextBox ID="tbBattery" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblDimension" runat="server" Text="Afmetingen:" /></td>
            <td><asp:TextBox ID="tbDimension" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblWarranty" runat="server" Text="Garantie:" /></td>
            <td><asp:TextBox ID="tbWarranty" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblInStock" runat="server" Text="Op voorraad:" /></td>
            <td><asp:CheckBox ID="cbInStock" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblRating" runat="server" Text="Rating:" /></td>
            <td><asp:DropDownList ID="ddlRating" runat="server" width="145px">
                <asp:ListItem Text="Kies Rating" Value="0" Selected="False"></asp:ListItem>
                <asp:ListItem Text="1" Value="1" Selected="False"></asp:ListItem>
                <asp:ListItem Text="2" Value="2" Selected="False"></asp:ListItem>
                <asp:ListItem Text="3" Value="3" Selected="False"></asp:ListItem>
                <asp:ListItem Text="4" Value="4" Selected="False"></asp:ListItem>
                <asp:ListItem Text="5" Value="5" Selected="False"></asp:ListItem>
                <asp:ListItem Text="6" Value="6" Selected="False"></asp:ListItem>
                <asp:ListItem Text="7" Value="7" Selected="False"></asp:ListItem>
                <asp:ListItem Text="8" Value="8" Selected="False"></asp:ListItem>
                <asp:ListItem Text="9" Value="9" Selected="False"></asp:ListItem>
                <asp:ListItem Text="10" Value="10" Selected="False"></asp:ListItem>

</asp:DropDownList></td>

            <tr><td><asp:Label ID="lblBuyIn" runat="server" Text="Inkoop prijs:" /></td>
            <td><asp:TextBox ID="tbBuyIn" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblSellPrice" runat="server" Text="Verkoop prijs:" /></td>
            <td><asp:TextBox ID="tbSellPrice" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblActionPrice" runat="server" Text="Actie prijs:" /></td>
            <td><asp:TextBox ID="tbActionPrice" runat="server" /></td></tr>

            <tr><td><asp:Label ID="lblWeight" runat="server" Text="Gewicht:" /></td>
            <td><asp:TextBox ID="tbWeight" runat="server" /><asp:Label ID="idProduct" runat="server" /></td></tr>

             <tr><td><asp:Button ID="btnProductCancel" runat="server" Text="Cancel" OnClick="fn_Cancel" /></td>
             <td><asp:Button ID="btnProductSave" runat="server" OnClick="fn_EditProduct" Text="Opslaan" /><asp:Button ID="btnSearchAdmin" runat="server" OnClick="fn_SearchProduct" Text="Zoeken" /></td></tr>

        </table>
    </form>
</body>
</html>
